home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 007 / ecco.arc / ECCO.DOC < prev   
Encoding:
Text File  |  1985-09-06  |  1.3 KB  |  43 lines

  1. ECCO (Italian: "Behold!")    Echo arguments for MS-DOS, PC-DOS
  2.  
  3. Ecco writes its arguments to the standard output (like Unix "echo") even if Dos
  4. batch ECHO is OFF. This is useful for putting out messages in batch files, for
  5. instance
  6.  
  7.     ECHO OFF
  8.     ...
  9.     IF ...
  10.     ...
  11.     ECCO Compiling program
  12.  
  13. will write "Compiling program" to the terminal.
  14.  
  15. Odd characters may be specified with a backslash followed by the three-digit
  16. octal ASCII code for the character.  All three digits must be given.
  17.  
  18.     ECCO \007Ding, ding!\007
  19.     ECCO Here are\015\012two lines
  20.  
  21. To output a true backslash, use two:
  22.  
  23.     ECCO Here is one backslash: \\; two: \\\\
  24.  
  25. Rainbow users: to get rid of the nauseating ECHO OFF which appears when you
  26. first turn echo off (anyone out there know how to patch COMMAND.COM to fix
  27. this?):
  28.  
  29.     echo off
  30.     ecco \033[2A\033[J\033[A
  31.  
  32. The second line sends the escape sequences to move the cursor up and erase the
  33. offending prose.  I don't think it's that easy on the IBM PC (unless running
  34. the funky ANSI driver).
  35.  
  36. This program may be distributed freely as long as it is not sold for profit. 
  37. The author may be reached at:
  38.  
  39.     Bryan Higgins
  40.     DHB Associates
  41.     1802 Channing Way
  42.     Berkeley, CA 94703
  43.